package cn.fu.utils.Tutil;

public class BaseAction<T> {
	T entity;

	public BaseAction() {

		Class entityClass = TUtils.getGenericSuperclass(this.getClass());
		try {
			entity = (T) entityClass.newInstance();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	public T getModel() {
		return entity;
	}
}
